﻿namespace Utils.ModuleAHP
{
    /// <summary>
    /// 生命值|覆写
    /// </summary>
    public class CustomHealthStat : PlayerStatsSystem.HealthStat
    {
        public override float MaxValue
        {
            get
            {
                if (_MaxValue == 0)
                    return base.MaxValue;

                return this._MaxValue;
            }
        }

        /// <summary>
        /// 最大生命值
        /// </summary>
        public float _MaxValue { get; set; }
    }
}
